//
// Created by wuzhuya on 23-12-28.
//

#ifndef OS_STDARG_H
#define OS_STDARG_H
typedef char *va_list;
#define va_start(ap, v) (ap=(va_list )&v+sizeof(char *))
#define va_arg(ap, t) (*(t*)((ap+=sizeof(char *))-sizeof(char *)))
#define va_end(ap) (ap=(va_list)0)
#endif //OS_STDARG_H
